{capture name="hidden"}	
{/capture}
{capture name="fields"}

 	<style type="text/css">
	{literal}
	.pages-item {
		padding: 5px 0; border-top: 1px solid #FFFFFF; border-bottom: 1px solid #D6DBDE;
	}
	.pages-item a {
	  background: url('_tvs_system_core_/design/img/document_copy.gif') no-repeat left center; padding: 5px 0 5px 16px;
	}
	{/literal}
	</style>

	<div class="pages-item" style="padding-left: {if $width}{$width}{else}7{/if}px;">
		{t t='Pradžia'}
	</div>

	{foreach from=$tree item="el"}		
	{assign var="width" value=$el.depth*20}
	<div class="pages-item" style="padding-left: {if $width}{$width}{else}7{/if}px;">
	<a href="javascript:void(0);" onClick="window.opener.oTF{$smarty.get.parent}_id.value={$el.id}; window.opener.oTF{$smarty.get.parent}_name.value='{$el.name|escape:"quotes"}'; window.close();" class="blackUnderline">{$el.name}</a>
	</div>
	{/foreach}
{/capture}


